// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import Vant, { Lazyload } from 'vant'
import 'vant/lib/index.css'

import smartParse from 'vue-smart-parse'
import VueClipboard from 'vue-clipboard2'
import { CellSwipe } from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.component(CellSwipe.name, CellSwipe)
Vue.use(VueClipboard)
Vue.use(Vant)
Vue.use(Lazyload, {
  lazyComponent: true
})
Vue.use(smartParse)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
